Skip to content

Add PHP compatibility test matrix#7

Merged
pjeweb merged 2 commits into
mainfrom
paul/php-compat-matrix-tests
Jun 20, 2026
Merged

Add PHP compatibility test matrix#7
pjeweb merged 2 commits into
mainfrom
paul/php-compat-matrix-tests

Conversation

@pjeweb

@pjeweb pjeweb commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a GitHub Actions test matrix for PHP 8.2, 8.3, 8.4, and 8.5, with a non-blocking nightly job for early compatibility signal.
  • Configure PHPUnit to fail on first-party notices, warnings, and deprecations so compatibility issues surface in CI.
  • Add a local Docker matrix runner and fix PHP 8.5 deprecations found by the stricter suite.

Test plan

  • composer validate
  • composer test
  • PHP_VERSIONS="8.2" bin/test-php-matrix
  • PHP_VERSIONS="8.5" bin/test-php-matrix

pjeweb added 2 commits June 20, 2026 11:19
Run the package suite across supported PHP versions and fail on first-party warnings or deprecations so compatibility regressions surface before release.
Keep the ignored fixture output directory present on clean CI checkouts so strict PHPUnit warning handling does not fail on missing paths.
@pjeweb pjeweb merged commit 41559e9 into main Jun 20, 2026
7 checks passed
@pjeweb pjeweb deleted the paul/php-compat-matrix-tests branch June 20, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant